<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%>
<!doctype html>
<html>
<head>
<title><fmt:message key="jsp.a.sell.form"/></title>
<%@include file="../head.jsp" %>
<script type="text/javascript" src="/static/s/sell.js"></script>
<link type="text/css" rel="stylesheet" href="/static/s/choicegoods.css" media="all" />
<script type="text/javascript">
$(function(){
	var sgid = GetQueryString("sgid");
	goods.addSellItem(sgid);
	$('#mobile').poshytip({
		className: 'tip-yellow',
		showOn: 'focus',
		alignTo: 'target',
		alignX: 'center',
		alignY: 'bottom',
		offsetX: 0,
		offsetY: 5
	});
	$('#memo').poshytip({
		className: 'tip-yellow',
		showOn: 'focus',
		alignTo: 'target',
		alignX: 'center',
		alignY: 'bottom',
		offsetX: 0,
		offsetY: 5
	});
});
</script>
</head>
<body>
<div id="sss"></div>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class="form">
<table>
<tr>
<th><fmt:message key="message.goods.name" /></th>
<td>
<div class="selector"><input type="text" id="goodsKey" name="goodsKey" value="输入商品名称或型号后回车" /></div>
<!--  -->
<div class="sellItem">
<table></table>
</div>
</td>
</tr>
<tr>
<th><fmt:message key="jsp.sell.form.price.total" /></th>
<td><input type="text" id="payables" name="payables" value="${billForm.payables}"/></td>
</tr>
<tr>
<th><fmt:message key="jsp.sell.form.price.realpay" /></th>
<td><input type="text" id="realPayables" name="realPayables" value="${billForm.realPayables}"/></td>
</tr>
<tr>
<th><fmt:message key="message.customer.name" /></th>
<td>
<input type="text" id="customerName" name="customerName" value="" />
</td>
</tr>
<tr>
<th><fmt:message key="message.tel"/></th>
<td><input type="text" id="mobile" name="mobile" value="" title="多个号码请用空格分开" /></td>
</tr>
<tr>
<th><fmt:message key="message.village.name"/></th>
<td>
<div class="selector">
<a href="###" onclick="village.show();" id="villageSelector">选择村庄</a>
<input type="hidden" id="villageId" name="villageId"/>
</div>
</td>
</tr>
<tr>
<tr>
<th>备注</th>
<td>
<textarea id="memo" name="memo" style="width:380px; height:80px;" title="备注内容将显示在票据上">${billForm.memo}</textarea>
</td>
</tr>
<tr>
<th>是否打印单品价格</th>
<td>
<label for="needPrintUnitPrice_1">
<input type="radio" id="needPrintUnitPrice_1" name="needPrintUnitPrice" value="true"/>是</label>
&nbsp;&nbsp;&nbsp;&nbsp;
<label for="needPrintUnitPrice_2">
<input type="radio" id="needPrintUnitPrice_2" name="needPrintUnitPrice" value="false" checked=/>否</label>
</td>
</tr>
<tr>
<th>打印销售单据</th>
<td>
<label for="needPrint"><input type="checkbox" id="needPrint" name="needPrint" value="true" checked/>打印</label>
</td>
</tr>
<tr>
<th></th>
<td>
<input type="hidden" name="backURL" id="backURL" value="${backURL}" />
<input type="button" id="save" name="save" value="确定销售" />
<span id="remind" class="error"></span>
</td>
</tr>
</table>
</div>
<!--  -->
</div>
</div>
</body>
</html>